package com.example.xpvideo.entity;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 用户优惠券表(LsCouponList)实体类
 *
 * @author 
 * @since 2021-09-23 10:40:50
 */
@ApiModel("用户优惠券表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsCouponList implements Serializable {
    private static final long serialVersionUID = -35540468948540574L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
    @ApiModelProperty(value="$column.comment",position=1)
    private Integer id;

    /**
    * 用户id
    * isnull 0
    */        @ApiModelProperty(value="用户id",position=2)
    private Integer userId;
    /**
    * 优惠券id
    * isnull 0
    */        @ApiModelProperty(value="优惠券id",position=3)
    private Integer couponId;
    /**
    * 优惠券券码
    * isnull 0
    */        @ApiModelProperty(value="优惠券券码",position=4)
    private String couponCode;
    /**
    * 状态；0-未使用;1-已使用;2-已过期
    * isnull 0
    */        @ApiModelProperty(value="状态；0-未使用;1-已使用;2-已过期",position=5)
    private Integer status;
    /**
    * 优惠券使用的订单id
    * isnull 0
    */        @ApiModelProperty(value="优惠券使用的订单id",position=6)
    private String orderId;
    /**
    * 使用时间
    * isnull 0
    */        @ApiModelProperty(value="使用时间",position=7)
    private Integer useTime;
    /**
    * 创建时间
    * isnull 0
    */        @ApiModelProperty(value="创建时间",position=8)
    private Integer createTime;
    /**
    * 更新时间
    * isnull 0
    */        @ApiModelProperty(value="更新时间",position=9)
    private Integer updateTime;
    /**
    * 是否删除;1-是；0-否
    * isnull 0
    */        @ApiModelProperty(value="是否删除;1-是；0-否",position=10)
    private Integer del;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
        
    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }
        
    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }
        
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
        
    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
        
    public Integer getUseTime() {
        return useTime;
    }

    public void setUseTime(Integer useTime) {
        this.useTime = useTime;
    }
        
    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }
        
    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }
        
    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"userId\":" + userId +
                            " ,\"couponId\":" + couponId +
                            " ,\"couponCode\":" + couponCode +
                            " ,\"status\":" + status +
                            " ,\"orderId\":" + orderId +
                            " ,\"useTime\":" + useTime +
                            " ,\"createTime\":" + createTime +
                            " ,\"updateTime\":" + updateTime +
                            " ,\"del\":" + del +
                  '}';
    }


}
